﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Xml.Linq;
using Microsoft.SharePoint;
using System.Text.RegularExpressions;

namespace LizardSoft.Common.FlexibleStructureDeployment
{
    public static partial class StructureHelper
    {
        private static void DeleteAllFields(SPWeb web, string listFolderUrl, SPContentTypeId listContentTypeId)
        {
            DeleteContentTypeFields(web, listFolderUrl, listContentTypeId, fieldName =>
            {
                return true; // удаляем все поля из типа контента
            });
        }
    }
}
